package ve.usb;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;

import ve.usb.cohesion.runtime.CohesionAction;


/**
 * 
 */
public class AccionesIniciarSesion extends CohesionAction {
    
/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_PreIniciarSesion.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_PreIniciarSesion(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_IniciarSesion", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        
            InicioSesion fInicioSesion = (InicioSesion)form;

        return mapping.findForward(SALIDAS[salida]);
    }

/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_Conectarse.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_Conectarse(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_MenuInicio", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        
            InicioSesion fInicioSesion = (InicioSesion)form;

        return mapping.findForward(SALIDAS[salida]);
    }

/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_Desconectarse.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_Desconectarse(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"A_PreIniciarSesion", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        

        return mapping.findForward(SALIDAS[salida]);
    }

/**
     * Acci??n llamada por Struts para ejecutar la acci??n A_PreLogin.
     * 
     * @param mapping The ActionMapping used to select this instance.
     * @param form The optional ActionForm bean for this request.
     * @param request The HTTP Request we are processing.
     * @param response The HTTP Response we are processing.
     * @throws java.lang.Exception
     * @return
     */
    public ActionForward A_PreLogin(ActionMapping mapping, ActionForm  form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        
        //Salidas
        final String[] SALIDAS = {"V_IniciarSesion", };
        final int SALIDA_0 = 0;

        int salida = SALIDA_0;
        

        return mapping.findForward(SALIDAS[salida]);
    }



}